/**
 * 
 */

function A06textinit() {
	var f = document.frm
	f.text1.focus();
	var b1 = document.getElementById('btn1').onclick = btn1Func;
	var b2 = document.getElementById('btn2').onclick = btn2Func;
}
function btn1Func(){
	var f = document.frm
	f.text2.value = f.text1.value;
	f.text2.style.backgroundColor = "#E2E2E2";
	alert("복사되었습니다.");
	window.open();
}

function btn2Func(){
	var f = document.frm
	f.text2.value = "";
	f.text1.value = "";
	f.text2.style.backgroundColor = "#ffff80";
	f.text1.focus();
	alert("모두 삭제되었습니다.");
	
}